const express = require('express')
const app = express()

app.get('/list', (req, res, next) => {
  res.send({
    data: ['hello world'],
    code: 0,
    msg: '测试的list接口'})
})

app.get('/api/user', (req, res, next) => {
  res.send({
    data: 'ces',
    code: 0
  })
})

app.listen(5678, () => console.log(5678))